﻿
namespace Numbrella.Tracker.WebService
{
    using System;
    using System.ServiceModel;

    [ServiceContract]
    public interface IAuthorizationService
    {
        [OperationContract(AsyncPattern = true)]
        IAsyncResult BeginLogin(string username, string password, AsyncCallback callback, object state);

        UserToken EndLogin(IAsyncResult result);
    }
}
